package com.xuecheng.commons.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetailsVo implements Serializable {




    //课程名称
    @ExcelProperty(value = "课程名称")
    private String coursePubName;
    //定价
    @ExcelIgnore //隐藏字段
    private Long initialPrice;
    //订单号
    @ExcelProperty(value = "订单号")
    private String orderNo;
    //交易价
    @ExcelProperty(value = "结算金额")
    private Long price;

    //交易状态
    @ExcelIgnore //隐藏字段
    private Integer status;
    //用户ID
    @ExcelProperty(value = "用户ID")
    private Long userId;

    //创建日期
    @ExcelProperty(value = "创建日期")
    private Date createDate;

    //交易状态汉字
    @ExcelProperty(value = "交易状态")
    private String sta;

    //订单的状态
    public static final Integer ORDER_INIT_STATUS = 600001; //初始态,
    public static final Integer ORDER_PAID_STATUS = 600002; //已支付,
    public static final Integer ORDER_CANCEL_STATUS = 600003; //已取消,
    public static final Integer ORDER_CLOSED_STATUS = 600004; //已关闭,
    public static final Integer ORDER_REFUNDED_STATUS = 600005; //已退款,



}